package com.sgz.test.bean.copybean;

/**
 * Created with IntelliJ IDEA.
 * User: sunguangzhu
 * Date: 13-8-15
 * Time: 下午12:28
 * To change this template use File | Settings | File Templates.
 */
public class OrigBean {
    private Long id;
    private String name;
    private String property1;
    private String property2;

    private Integer dataId;

    public Integer getDataId() {
        return dataId;
    }

    public void setDataId(Integer dataId) {
        this.dataId = dataId;
    }

    public OrigBean() {
    }

    public OrigBean(Long id, String name, String property1, String property2) {
        this.id = id;
        this.name = name;
        this.property1 = property1;
        this.property2 = property2;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProperty1() {
        return property1;
    }

    public void setProperty1(String property1) {
        this.property1 = property1;
    }

    public String getProperty2() {
        return property2;
    }

    public void setProperty2(String property2) {
        this.property2 = property2;
    }

    public String toString() {
        return "origBean: " + " id  " + this.id + "   name  " + this.name + "   property1   " + this.property1 + " property2    " + this.property2;
    }
}
